<?php

/**
 * @author PeoneEr
 * модель для гмшопа
 */
require_once "core/db.php";

class Mgmshop1 extends DB {

    /**
     *
     * @var string $_query
     * @var int $_limit
     * @var array $_fetch
     * @var static $_instance
     */
    private $_query = NULL;
    private $_fetch = array();

    protected function getFullList() {
        /**
         * полный список предметов для торговли
         */
		 DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT * FROM `personal_gmshop_items`";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }
}

?>
